import request from '@/utils/request'

export function sendCustomerEmail(data) {
  return request({
    url: '/mail/info/send',
    method: 'put',
    data: data
  })
}

export function listMail(query) {
  return request({
    url: '/mail/info/list',
    method: 'get',
    params: query
  })
}
